package com.hd.crdao.bean;

/**
 *
 *@author Programming
 *@date 2017/7/7 0007
 */

public class ChildUserBean {


    /**
     * CarBusiness : {"area":{"id":"1529","isNewRecord":false,"name":"鼓楼区","parentId":"126","sort":30,"type":"3"},"cbName":"测试车商5","creditNum":0,"id":"24a3772b96164e76b1b38c6e6b0d4c92","isNewRecord":false,"user":{"admin":false,"id":"464d946a32ed4ff88168cd968a77a03e","isNewRecord":false,"loginFlag":"1","roleNames":""}}
     * data : {"admin":false,"id":"64d1142e31c9467c8b1448c67c41f970","isNewRecord":false,"loginName":"13177446838","mobile":"13177446838","name":"爱新觉罗","roleNames":"","userType":"12"}
     * message : 登录成功
     * success : 00
     * usertype : 12
     */

    private CarBusinessBean CarBusiness;
    private DataBean data;
    private String message;
    private int success;
    private int usertype;

    public CarBusinessBean getCarBusiness() {
        return CarBusiness;
    }

    public void setCarBusiness(CarBusinessBean CarBusiness) {
        this.CarBusiness = CarBusiness;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getSuccess() {
        return success;
    }

    public void setSuccess(int success) {
        this.success = success;
    }

    public int getUsertype() {
        return usertype;
    }

    public void setUsertype(int usertype) {
        this.usertype = usertype;
    }

    public static class CarBusinessBean {
        /**
         * area : {"id":"1529","isNewRecord":false,"name":"鼓楼区","parentId":"126","sort":30,"type":"3"}
         * cbName : 测试车商5
         * creditNum : 0
         * id : 24a3772b96164e76b1b38c6e6b0d4c92
         * isNewRecord : false
         * user : {"admin":false,"id":"464d946a32ed4ff88168cd968a77a03e","isNewRecord":false,"loginFlag":"1","roleNames":""}
         */

        private AreaBean area;
        private String cbName;
        private int creditNum;
        private String id;
        private boolean isNewRecord;
        private UserBean user;

        public AreaBean getArea() {
            return area;
        }

        public void setArea(AreaBean area) {
            this.area = area;
        }

        public String getCbName() {
            return cbName;
        }

        public void setCbName(String cbName) {
            this.cbName = cbName;
        }

        public int getCreditNum() {
            return creditNum;
        }

        public void setCreditNum(int creditNum) {
            this.creditNum = creditNum;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public boolean isIsNewRecord() {
            return isNewRecord;
        }

        public void setIsNewRecord(boolean isNewRecord) {
            this.isNewRecord = isNewRecord;
        }

        public UserBean getUser() {
            return user;
        }

        public void setUser(UserBean user) {
            this.user = user;
        }

        public static class AreaBean {
            /**
             * id : 1529
             * isNewRecord : false
             * name : 鼓楼区
             * parentId : 126
             * sort : 30
             * type : 3
             */

            private String id;
            private boolean isNewRecord;
            private String name;
            private String parentId;
            private int sort;
            private String type;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public boolean isIsNewRecord() {
                return isNewRecord;
            }

            public void setIsNewRecord(boolean isNewRecord) {
                this.isNewRecord = isNewRecord;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getParentId() {
                return parentId;
            }

            public void setParentId(String parentId) {
                this.parentId = parentId;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }
        }

        public static class UserBean {
            /**
             * admin : false
             * id : 464d946a32ed4ff88168cd968a77a03e
             * isNewRecord : false
             * loginFlag : 1
             * roleNames :
             */

            private boolean admin;
            private String id;
            private boolean isNewRecord;
            private String loginFlag;
            private String roleNames;

            public boolean isAdmin() {
                return admin;
            }

            public void setAdmin(boolean admin) {
                this.admin = admin;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public boolean isIsNewRecord() {
                return isNewRecord;
            }

            public void setIsNewRecord(boolean isNewRecord) {
                this.isNewRecord = isNewRecord;
            }

            public String getLoginFlag() {
                return loginFlag;
            }

            public void setLoginFlag(String loginFlag) {
                this.loginFlag = loginFlag;
            }

            public String getRoleNames() {
                return roleNames;
            }

            public void setRoleNames(String roleNames) {
                this.roleNames = roleNames;
            }
        }
    }

    public static class DataBean {
        /**
         * admin : false
         * id : 64d1142e31c9467c8b1448c67c41f970
         * isNewRecord : false
         * loginName : 13177446838
         * mobile : 13177446838
         * name : 爱新觉罗
         * roleNames :
         * userType : 12
         */

        private boolean admin;
        private String id;
        private boolean isNewRecord;
        private String loginName;
        private String mobile;
        private String name;
        private String roleNames;
        private String userType;

        public boolean isAdmin() {
            return admin;
        }

        public void setAdmin(boolean admin) {
            this.admin = admin;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public boolean isIsNewRecord() {
            return isNewRecord;
        }

        public void setIsNewRecord(boolean isNewRecord) {
            this.isNewRecord = isNewRecord;
        }

        public String getLoginName() {
            return loginName;
        }

        public void setLoginName(String loginName) {
            this.loginName = loginName;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getRoleNames() {
            return roleNames;
        }

        public void setRoleNames(String roleNames) {
            this.roleNames = roleNames;
        }

        public String getUserType() {
            return userType;
        }

        public void setUserType(String userType) {
            this.userType = userType;
        }
    }
}
